package net.hn.hnms.biz.api.safety.water.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 智呈物联 pan'sx
 * 2022/7/28 9:07
 * 1.0 version
 */
@ApiModel("灾害监测 - 地表沉陷监测 - 雨量信息")
@Data
public class RainfallVo {
    private String name;

    private BigDecimal count;

    @ApiModelProperty("变化量")
    private BigDecimal change;

    private BigDecimal unit;

    private String status;

    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    private Date date;
}
